def main():
    longest = 0
    for line in open('data100.txt'):
        longest = max(len(line), longest)
    return longest


print(main())
